package com.cx.service.impl;

import com.cx.mapper.SeckillGoodsMapper;
import com.cx.pojo.SeckillGoods;
import com.cx.service.SeckillGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author 11597
 * @Date 2020/6/29 20:53
 */
@Service
public class SeckillGoodsServiceImpl implements SeckillGoodsService {

    @Autowired
    private SeckillGoodsMapper seckillGoodsMapper;

    @Override
    public SeckillGoods selectSeckillGoodsByGoodId(Integer goodId) {
        return seckillGoodsMapper.selectByGoodId(goodId);
    }

}
